#!/bin/bash
#
#         Date: 2022/12/10
#       Author: Anthony
#  Description: os optimization 
#
set -e

# set os ulimits object size
cat <<EOF >> /etc/security/limits.conf
*   soft    nofile      65535
*   hard    nofile      65535
EOF